
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("SYSUSER")] 
     public partial class SysUser
    {
        public SysUser()
        {
            this.SysUserConfig = new HashSet<SysUserConfig>();
            this.SysRole = new HashSet<SysRole>();
            this.MIS_Article = new HashSet<MIS_Article>();
            this.MIS_Article1 = new HashSet<MIS_Article>();
            this.MIS_Article_Comment = new HashSet<MIS_Article_Comment>();
            this.WC_OfficalAccounts = new HashSet<WC_OfficalAccounts>();
            this.SysCalendarPlan = new HashSet<SysCalendarPlan>();
            this.Flow_FormContent = new HashSet<Flow_FormContent>();
            this.Flow_FormContentStepCheckState = new HashSet<Flow_FormContentStepCheckState>();
            this.Flow_Seal = new HashSet<Flow_Seal>();
            this.MIS_MailBox = new HashSet<MIS_MailBox>();
            this.MIS_MailBoxUsers = new HashSet<MIS_MailBoxUsers>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("USERNAME")] 
     public string UserName { get; set; }
        [Column("PASSWORD")] 
     public string Password { get; set; }
        [Column("TRUENAME")] 
     public string TrueName { get; set; }
        [Column("CARD")] 
     public string Card { get; set; }
        [Column("MOBILENUMBER")] 
     public string MobileNumber { get; set; }
        [Column("PHONENUMBER")] 
     public string PhoneNumber { get; set; }
        [Column("QQ")] 
     public string QQ { get; set; }
        [Column("EMAILADDRESS")] 
     public string EmailAddress { get; set; }
        [Column("OTHERCONTACT")] 
     public string OtherContact { get; set; }
        [Column("PROVINCE")] 
     public string Province { get; set; }
        [Column("CITY")] 
     public string City { get; set; }
        [Column("VILLAGE")] 
     public string Village { get; set; }
        [Column("ADDRESS")] 
     public string Address { get; set; }
        [Column("STATE")] 
     public bool State { get; set; }
        [Column("CREATETIME")] 
     public Nullable<System.DateTime> CreateTime { get; set; }
        [Column("CREATEPERSON")] 
     public string CreatePerson { get; set; }
        [Column("SEX")] 
     public string Sex { get; set; }
        [Column("BIRTHDAY")] 
     public Nullable<System.DateTime> Birthday { get; set; }
        [Column("JOINDATE")] 
     public Nullable<System.DateTime> JoinDate { get; set; }
        [Column("MARITAL")] 
     public string Marital { get; set; }
        [Column("POLITICAL")] 
     public string Political { get; set; }
        [Column("NATIONALITY")] 
     public string Nationality { get; set; }
        [Column("NATIVE")] 
     public string Native { get; set; }
        [Column("SCHOOL")] 
     public string School { get; set; }
        [Column("PROFESSIONAL")] 
     public string Professional { get; set; }
        [Column("DEGREE")] 
     public string Degree { get; set; }
        [Column("DEPID")] 
     public string DepId { get; set; }
        [Column("POSID")] 
     public string PosId { get; set; }
        [Column("EXPERTISE")] 
     public string Expertise { get; set; }
        [Column("JOBSTATE")] 
     public bool JobState { get; set; }
        [Column("PHOTO")] 
     public string Photo { get; set; }
        [Column("ATTACH")] 
     public string Attach { get; set; }
        [Column("LEAD")] 
     public string Lead { get; set; }
        [Column("LEADNAME")] 
     public string LeadName { get; set; }
        [Column("ISSELLEAD")] 
     public bool IsSelLead { get; set; }
        [Column("ISREPORTCALENDAR")] 
     public bool IsReportCalendar { get; set; }
        [Column("ISSECRETARY")] 
     public bool IsSecretary { get; set; }
    
        public virtual ICollection<SysUserConfig> SysUserConfig { get; set; }
        public virtual ICollection<SysRole> SysRole { get; set; }
        public virtual ICollection<MIS_Article> MIS_Article { get; set; }
        public virtual ICollection<MIS_Article> MIS_Article1 { get; set; }
        public virtual ICollection<MIS_Article_Comment> MIS_Article_Comment { get; set; }
        public virtual SysPosition SysPosition { get; set; }
        public virtual SysStruct SysStruct { get; set; }
        public virtual ICollection<WC_OfficalAccounts> WC_OfficalAccounts { get; set; }
        public virtual ICollection<SysCalendarPlan> SysCalendarPlan { get; set; }
        public virtual ICollection<Flow_FormContent> Flow_FormContent { get; set; }
        public virtual ICollection<Flow_FormContentStepCheckState> Flow_FormContentStepCheckState { get; set; }
        public virtual ICollection<Flow_Seal> Flow_Seal { get; set; }
        public virtual ICollection<MIS_MailBox> MIS_MailBox { get; set; }
        public virtual ICollection<MIS_MailBoxUsers> MIS_MailBoxUsers { get; set; }
    }
}
